print '\nTry the following:\n1. Remove any old "Python Preferences" files from the system folder.\n2. Remove any old "PythonCore" files from the system folder.\n3. Make sure this script, PythonPPC and PythonCore are all located in the\n python home folder (where the Lib and PlugIns folders are)\n4. Run this script again, by dropping it on PythonPPC.\n\nIf this fails try removing starting afresh from the distribution archive.\n'
sys.exit(1)
try:
import os
except ImportError:
print "\nI cannot import the 'os' module, so something is wrong with sys.path\n"
help()
try:
import Res
except ImportError:
try:
os.chdir(':PlugIns')
except IOError:
print "\nI cannot find the 'PlugIns' folder, so I am obviously not run from the Python\nhome folder.\n"